// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeParametersResponse.h"

namespace aliyun { namespace Rds {

DescribeParametersResponse::DescribeParametersResponse() {
}

const string& DescribeParametersResponse::DBInstanceParameter::GetParameterName(void) const {
  return ParameterName_;
}

const string& DescribeParametersResponse::DBInstanceParameter::GetParameterValue(void) const {
  return ParameterValue_;
}

const string& DescribeParametersResponse::DBInstanceParameter::GetParameterDescription(void) const {
  return ParameterDescription_;
}

const std::vector<DescribeParametersResponse::DBInstanceParameter>& DescribeParametersResponse::GetConfigParameters(void) const {
  return ConfigParameters_;
}

const std::vector<DescribeParametersResponse::DBInstanceParameter>& DescribeParametersResponse::GetRunningParameters(void) const {
  return RunningParameters_;
}

const string& DescribeParametersResponse::GetEngine(void) const {
  return Engine_;
}

const string& DescribeParametersResponse::GetEngineVersion(void) const {
  return EngineVersion_;
}

const char* DescribeParametersResponse::BaseKey(void) {
  return "DescribeParametersResponse";
}

void DescribeParametersResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int ConfigParameters__length = 0;
  UnmarshallerInt(ConfigParameters__length, response_map, "DescribeParametersResponse.ConfigParameters.Length");
  if(ConfigParameters__length >= 0) {
    ConfigParameters_.resize(ConfigParameters__length);
    for(int i1 = 0; i1 < ConfigParameters__length; i1++) {
      UnmarshallerString(ConfigParameters_[i1].ParameterName_, response_map, "DescribeParametersResponse.ConfigParameters["+string_ValueOfInt(i1)+"].ParameterName");
      UnmarshallerString(ConfigParameters_[i1].ParameterValue_, response_map, "DescribeParametersResponse.ConfigParameters["+string_ValueOfInt(i1)+"].ParameterValue");
      UnmarshallerString(ConfigParameters_[i1].ParameterDescription_, response_map, "DescribeParametersResponse.ConfigParameters["+string_ValueOfInt(i1)+"].ParameterDescription");
    } // for(int i1 = 0; i1 < ConfigParameters__length; i1++) {
  } // if(ConfigParameters__length >= 0) {

  int RunningParameters__length = 0;
  UnmarshallerInt(RunningParameters__length, response_map, "DescribeParametersResponse.RunningParameters.Length");
  if(RunningParameters__length >= 0) {
    RunningParameters_.resize(RunningParameters__length);
    for(int i1 = 0; i1 < RunningParameters__length; i1++) {
      UnmarshallerString(RunningParameters_[i1].ParameterName_, response_map, "DescribeParametersResponse.RunningParameters["+string_ValueOfInt(i1)+"].ParameterName");
      UnmarshallerString(RunningParameters_[i1].ParameterValue_, response_map, "DescribeParametersResponse.RunningParameters["+string_ValueOfInt(i1)+"].ParameterValue");
      UnmarshallerString(RunningParameters_[i1].ParameterDescription_, response_map, "DescribeParametersResponse.RunningParameters["+string_ValueOfInt(i1)+"].ParameterDescription");
    } // for(int i1 = 0; i1 < RunningParameters__length; i1++) {
  } // if(RunningParameters__length >= 0) {

  UnmarshallerString(Engine_, response_map, "DescribeParametersResponse.Engine");
  UnmarshallerString(EngineVersion_, response_map, "DescribeParametersResponse.EngineVersion");
}


} } // namespace aliyun { namespace Rds {

// end of file 
